transaction timeout - Mailing list pgsql-general

From Eugene Strulyov
Subject transaction timeout
Date
Msg-id 200309261248.54002.Eugene Strulyov
Whole thread Raw
List pgsql-general
Hi everybody,

Our aplpication uses PostgreSQL for data store. We have a problem with the way
long-running transactions are handled.

Our application had a bug (from what I understand it went into an infinite
loop). As a result, the transaction it was processing was neither committed
nor rolled back. Because of that, the misbehaving process was left holding
the locks and none of the other processes were able to do transactions.

My question is, how do I get PostgreSQL to automatically abort transactions
that take longer than a certain timeout?

thanks in advance,

Eugene

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Tuning/performance question.
Next
From: Marco Colombo
Date:
Subject: newbie pl/pgsql question